bitkeeper revision 1.1422 (4288fba11spwpuVeAcBTXmV1qAve_Q)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 16 May 2005 19:59:29 +0000 (19:59 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 16 May 2005 19:59:29 +0000 (19:59 +0000)
Fix 64-bit build of pygrub. From Jerone Young.
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/pygrub/src/fsys/ext2/ext2module.c

index ed81c3a1dca4c25e36c61bb4fe43037c7936aeb9..bef4bb6f9f19348f912bd8d2b848661fb2e963f7 100644 (file)
@@ -55,7 +55,7 @@ static PyObject *
 ext2_file_read (Ext2File *file, PyObject *args)
 {
     int err, size = 0;
-    size_t n, total = 0;
+    unsigned int n, total = 0;
     PyObject * buffer = NULL;
 
     if (file->file == NULL) {